﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;
using System.Data;
namespace BUS
{
    public class PhieuYeuCauNLB
    {
        PhieuYeuCauNLDB daoBep = new PhieuYeuCauNLDB();
        //Phiếu yêu cầu_________________________________________________________________________
        public DataTable bLayDSPhieuYeuCauNL()
        {
            return daoBep.dLayDSPhieuYeuCauNL();
        }
        public DataTable LayDSPhieuYCTheoNgayBatDau(DateTime dtBatDau)
        {
            return daoBep.DSPhieuYCTheoNgayBatDau(dtBatDau);
        }

        public DataTable LayDSPhieuYCTheoNgay(DateTime dtBatDau, DateTime dtKetThuc)
        {
            return daoBep.DSPhieuYCTheoNgay(dtBatDau, dtKetThuc);
        }
        public bool ThemPhieuYCNL(PhieuYeuCauNL dto)
        {
            return daoBep.ThemPhieuYCNL(dto);

        }
        public DataTable LayDSPhieuYCNL()
        {
            return daoBep.LayDSPhieuYCNL();
        }
    }
}
